package com.hexanet.bom;

import java.util.Set;

public class Player {
    
    private Long id;
    
    private String nickname;
    
    private Integer rank;
    
    /**
     * the mail is also the login-name
     */
    private String mail;
    
    private String passwordSha1;
    
    private String passwordSha1Repeat;
    
    private Set<Cell> owningCells;

    public Long getId() {
	return id;
    }

    public void setId(Long id) {
	this.id = id;
    }

    public String getNickname() {
	return nickname;
    }

    public void setNickname(String nickname) {
	this.nickname = nickname;
    }

    public String getMail() {
	return mail;
    }

    public void setMail(String mail) {
	this.mail = mail;
    }

    public String getPasswordSha1() {
	return passwordSha1;
    }

    public void setPasswordSha1(String passwordSha1) {
	this.passwordSha1 = passwordSha1;
    }

    public Set<Cell> getOwningCells() {
        return owningCells;
    }

    public void setOwningCells(Set<Cell> owningCells) {
        this.owningCells = owningCells;
    }

    public Integer getRank() {
	return rank;
    }

    public void setRank(Integer rank) {
	this.rank = rank;
    }

    public String getPasswordSha1Repeat() {
	return passwordSha1Repeat;
    }

    public void setPasswordSha1Repeat(String passwordSha1Repeat) {
	this.passwordSha1Repeat = passwordSha1Repeat;
    }
    
    
    
    

}
